Coverage Based Test-Case Generation Using Model Checkers
نویسندگان
چکیده
This paper presetits a method for automatically generating test cases to structural coverage criteria. We show how a niodel checker can be used to autoniutically generate complete test sequetices that will provide a predefined coverage of uti? soffivare developnietit artifact that can be represented as a ffiriitr state niodel. Our goal is to help reduce the high cost of developitig test cases f o r safep-critical sojfivare applications that require a certain level of coveruge for certijicatioti, f o r example, safep-critical avionics sxstenis that need to denlotistrate MC/DC (modijied cotidition arid decision) coverage of the code. We deftie aJmiial franiework suitable for modeling soft\care artifacts, like, reqitirenients models, software spec$cations, or inipletnetitatiotis. We then show how various structural coverage criteria can be formalized and used to make a triode1 checker provide test sequences to achieve this coverqe. To illustrate our approach, we demonstrate, for the first titiie, how a niodel checker can be used to generate test sequerice.sfor MUDC coverage of a m a l l case example.
منابع مشابه
Model Checkers for Test Case Generation: An Experimental Study
In this paper we study the performance of various model checkers in test case generation scenario. The model checkers we consider are Cadence SMV, NuSMV, NuSMV’s Bounded Model Checker (BMC), the explicit state model checker SPIN and CMU’s SMV. The test cases are generated from specifications written in the SCR language. We suggest a strategy for minimizing the test generation time while ensurin...
متن کاملEnhancing Test Coverage by Back-tracing Model-checker Counterexamples
The automatic detection of unreachable coverage goals and generation of tests for ”corner-case” scenarios is crucial to make testing and simulation based verification more effective. In this paper we address the problem of coverability analysis and test case generation in modular and component based systems. We propose a technique that, given an uncovered branch in a component, either establish...
متن کاملEffective Values: An Approach for Characterizing Dependability Parameters
Testing and Web-Based Systems An Agent for Web-Based Process Management p. 62 Object-Oriented Analysis and Design of Web-Based Information Systems p. 68 Synthesis of High-Level Requirements Models for Automatic Test Generation p. 76 Coverage Based Test-Case Generation Using Model Checkers p. 83 Real-Time Toward a Real-Time Event Flow Architecture Style p. 94 Reservation-Based Timing Analysis--A...
متن کاملCoverage Based Test-Data Generation using Model Checkers
We present a method for automatically generating test cases that satisfy certain structural coverage criteria. We show how a model checker can be used to automatically generate complete test sequences that provide a predefined coverage of any software development artifact, given a finite state model of the artifact. Our goal is to help reduce the high cost of developing test cases for safety-cr...
متن کاملA Temporal Logic Based Theory of Test Coverage and Generation
This paper presents a theory of test coverage and generation from specifications written in extended finite state machines (EFSMs). We investigate a family of coverage criteria based on the information of control flow and data flow in EFSMs and characterize them using the temporal logic CTL. We discuss the complexity of minimal cost test generation and describe a simple heuristic which uses the...
متن کاملAn Automatic Test Case Generation Framework for Web Services
BPEL (Business Process Execution Language) as a de-facto standard for web service orchestration has drawn particularly attention from researchers and industries. BPEL is a semi-formal flow language with complex features such as concurrency and hierarchy. To test a model thoroughly, we need to cover different execution scenarios. As is well known, it is tedious, time-consuming, and error prone t...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2001